package com.frejoys.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

// 店铺活动实体类
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("j_store_code")
public class StoreCode implements Serializable {

    private static final long serialVersionUID = 1L;
    // 活动主键
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    // 店铺id
    private Integer storeId;

    //支付码
    private Long code;

    // 支付二维码
    private String payCode;

    // 类型：1.线上码，2.线下码
    private Integer type;
}
